import Dao.BerthDao;
import POJO.InputPOJO.BerthInput;
import POJO.User;
import POJO.Vo.BerthVo;
import Service.BerthService;
import Service.DepartmentService;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.util.List;

/*
public class test {
    */
/*科室id查询床位*//*

    @Test
    public void test() {
    ApplicationContext ac = new ClassPathXmlApplicationContext("ApplicationContext.xml");
    BerthDao BerthDao = (BerthDao) ac.getBean("BerthDao");
    BerthInput berthInput=new BerthInput();
    berthInput.setDepartmentId(1);
    List<BerthVo> list= BerthDao.selectBerth(berthInput);
    }
}
*/



  /*  ApplicationContext ac = new ClassPathXmlApplicationContext("ApplicationContext.xml");
     =   ac.getBean(" ");*/